package com.jlkf.dao;

import java.util.List;
import java.util.Map;

import com.jlkf.pojo.UserCoupon;
import com.jlkf.view.MyCoupon;

public interface UserCouponMapper {
    int deleteByPrimaryKey(Long id);

    int insert(UserCoupon record);

    int insertSelective(UserCoupon record);

    UserCoupon selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserCoupon record);

    int updateByPrimaryKey(UserCoupon record);
    
    List<UserCoupon>  getCoupon(Map<String,Object> map);
    //查询我的优惠劵节省的钱
    Integer getCouponCount(Map<String,Object> map);
    
    String getMaxNo();
    //企业列表
    List<UserCoupon>  getWebsiteCorporateCouponsList(Map<String,Object> map);
}